<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			#d0 {
				width: 200px;
				height: 200px;
				border: 1px solid orange;
				position: relative;
				left: 200px;
			}
			#d1 {
				width: 100px;
				height: 100px;
				border: 1px solid blue;
				position: relative;
				left: 300px;
				top: 300px;
			}

			#d2 {
				width: 100px;
				height: 100px;
				border: 1px solid orange;
			}
		</style>
	</head>
	<body>
		<div id="d0">
			<div id="d1">相对定位</div>
		</div>
		<div id="d2">3</div>
	</body>
</html>
